#ifndef NETWORK_SYNCABLE_INT_H
#define NETWORK_SYNCABLE_INT_H

#include "NetworkSyncable.h"

namespace mp_net
{
	class NetworkSyncableInt : public NetworkSyncable
	{
	public:
		NetworkSyncableInt(const NetworkSyncDirection syncDirection);
		NetworkSyncableInt(const int val,
			const NetworkSyncDirection syncDirection);
		virtual ~NetworkSyncableInt(){}
		
		void SetInt(const int val){m_val = val; 
			m_syncStatus = NetworkSyncStatus::DESYNCED;}

		virtual void GetCharArray(
			char* data, int& arraySize);
		virtual void SyncWithCharArray(
			const char* data, const int arraySize);

	private:
		int	m_val;
		/*	
		volatile NetworkSyncStatus	m_syncStatus;
		NetworkSyncDirection		m_syncDirection;
		*/
	};
}
#endif